﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
using System.IO;
using System.Drawing.Imaging;
using System.Data.SqlClient;
using System.Configuration;
using System.Data.Sql;
using System.Data.SqlTypes;
using System.Web.SessionState;
using System.ComponentModel;
using System.Data;
using System.Web.UI.HtmlControls;
namespace iResume
{
    public partial class Jscontact : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            ArrayList jsUpdate = new ArrayList();
            string email = (string)(Session["username"]);
            if (email == null)
            {
                Response.Redirect("loginpage.aspx");
            }
            jsUpdate = DBManager.retrievejscontact(email);
            JobSeeker Update = new JobSeeker();
            Update = (JobSeeker)jsUpdate[0];

            location.Text = Update.Location;
            phone.Text = Update.Phone;
            emailtxb.Text = Update.Contactemail;
        }

        protected void ImageButton4_Click(object sender, ImageClickEventArgs e)
        {
            Response.Redirect("Jscontact.aspx");
        }
    }
}